package cn.lanqiao.demo.service;

import cn.lanqiao.demo.entity.Student;
import cn.lanqiao.demo.vo.StudentVaccineVo;

import java.util.List;

/**
 * 学生业务层接口
 */
public interface StudentService {

    //根据sno查询学生信息
    public StudentVaccineVo getStudentBySno(String sno);

    //查询所有学生信息
    public List<StudentVaccineVo> getAllStudents();

    //添加学生信息
    public int addStudent(Student student);

    //删除学生信息
    public int deleteStudent(String sno);

    //修改学生信息
    public int updateStudent(Student student);

    //学生分页
    public List<Student> getList(int pageNum, int pageSize);
}
